p Welcome to [%-title%] [%if(typeof user != 'undefined' && user.username){%][%-user.username%][%}%]
<a href="/login">login</a>